package com.ruoyi.project.mydy.movieprofit.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 电影票房对象 dl_movie_profit
 * 
 * @author mhg
 * @date 2021-10-07
 */
public class DlMovieProfit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 昨日排行 */
    @Excel(name = "昨日排行")
    private Long yesterdayRank;

    /** 首周票房（单位：万） */
    @Excel(name = "首周票房", readConverterExp = "单=位：万")
    private Long firstWeekProfit;

    /** 累计票房（单位：万） */
    @Excel(name = "累计票房", readConverterExp = "单=位：万")
    private Long totalProfit;

    /** 电影id */
    @Excel(name = "电影id")
    private Long movieId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setYesterdayRank(Long yesterdayRank)
    {
        this.yesterdayRank = yesterdayRank;
    }

    public Long getYesterdayRank()
    {
        return yesterdayRank;
    }
    public void setFirstWeekProfit(Long firstWeekProfit)
    {
        this.firstWeekProfit = firstWeekProfit;
    }

    public Long getFirstWeekProfit()
    {
        return firstWeekProfit;
    }
    public void setTotalProfit(Long totalProfit)
    {
        this.totalProfit = totalProfit;
    }

    public Long getTotalProfit()
    {
        return totalProfit;
    }
    public void setMovieId(Long movieId)
    {
        this.movieId = movieId;
    }

    public Long getMovieId()
    {
        return movieId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("yesterdayRank", getYesterdayRank())
            .append("firstWeekProfit", getFirstWeekProfit())
            .append("totalProfit", getTotalProfit())
            .append("movieId", getMovieId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
